package org.abacus.platform.workflow;

public class WorkFlowTest {

	public static void main(String[] args) {
		WorkFlow workFlow = new WorkFlow();

		StartStation entrance = new StartStation();
		EndStation exit = new EndStation();
		workFlow.setEntrance(entrance);
		workFlow.setExit(exit);

		UnterwegsStation e = new UnterwegsStation();

		entrance.getNext().add(e);

		AttachedAble attachedAble = new AttachedAbleRole();

		Transition transition = new TransitionOut();

		attachedAble.setTransition(transition);

		e.setAttachedAble(attachedAble);

		e.setEntrance(entrance);

		e.setExit(exit);

		entrance.goNext();

	}
}
